From: Florian Müllner Date: Sat, 7 Oct 2017 08:15:18 +0000 (+0200) Subject: private: Avoid unnecessary conversions in shadow computation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~93 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2d79ab6c5c80ac3d145af44a4fb809b0a1f35bfe;p=gnome-shell.git private: Avoid unnecessary conversions in shadow computation The type was changed from double to float for no apparent reason when moving code in commit 5060081db5f. https://bugzilla.gnome.org/show_bug.cgi?id=788627 --- diff --git a/src/st/st-private.c b/src/st/st-private.c index d62586068..be78833e7 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -247,7 +247,7 @@ blur_pixels (guchar *pixels_in, gint *rowstride_out) { guchar *pixels_out; - float sigma; + gdouble sigma; /* The CSS specification defines (or will define) the blur radius as twice * the Gaussian standard deviation. See: